package com.lhd.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.security.Key;
@Data
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {
    private String secretKey; // 用于存储加密和解密 JWT 的密钥
    private long expirationTimeMs; // JWT 的过期时间，单位为毫秒
}